package com.atguigu.spzx.manager.service;

import com.atguigu.spzx.model.entity.system.SysRole;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SysRoleService {
    PageInfo<SysRole> findPageByKeyword(Integer pageNum, Integer pageSize , String keyword);

    void deleteById(Long id);

    void save(SysRole sysRole);

    SysRole getById(Long id);

    void updateById(SysRole sysRole);

    List<SysRole> listAll(Long userId);
}
